package com.soos.plugin.mybatis.log.spring.boot.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "com.soos.plugin.mybatis.log")
public class MybatisLogProperties {

    private boolean enable;

    public MybatisLogProperties() {
    }

    public MybatisLogProperties(boolean enable) {
        this.enable = enable;
    }

    /**
     * ==============================================
     *
     * @return: boolean
     * @description:
     * @title: isEnable
     * @author: WYL
     * @date: 2022/4/13 23:29
     * @since: V1.0.0
     * ==============================================
     */
    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
